Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 8 - Light Objects / Light Objects Reference
Light Objects Routines / Managing Spot Lights


Q3SpotLight_GetAttenuation

You can use the Q3SpotLight_GetAttenuation function to get the attenuation of a spot light.

TQ3Status Q3SpotLight_GetAttenuation (
TQ3LightObject light, 
TQ3AttenuationType *attenuation);
light
A spot light object.
attenuation
On exit, the type of attenuation of the light. See "Light Attenuation Values" on page 8-9 for a description of the constants that can be returned in this parameter.
DESCRIPTION
The Q3SpotLight_GetAttenuation function returns, in the attenuation parameter, the current attenuation value of the spot light specified by the light parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996